package com.seari.utils;

import com.seari.bean.ats.AtsMessageIDCodeEnum;

public class ceshi {

    public static void main(String args[]){

        byte[] message = new byte[4];
        message[0]=(byte) 0;
        message[1]=(byte) (0>>8);
        message[2]=(byte) (AtsMessageIDCodeEnum.MESSAGE_POLLING.getCode() & 0xFF);
        message[3]=(byte) (AtsMessageIDCodeEnum.MESSAGE_POLLING.getCode()>>8);
        System.out.println("message="+message[1]);
        System.out.println("message="+AtsMessageIDCodeEnum.MESSAGE_POLLING.getCode());
        System.out.println( "message="+DataUtil.getHighLowByteValue(message[1],message[0]));
        System.out.println( "message="+DataUtil.getHighLowByteValue(message[3],message[2]));

    }
}
